﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace mscook.core.domain
{
    public class Slide : Entity
    {
        [Required(ErrorMessage = "标题必填")]
        [StringLength(16, MinimumLength = 1, ErrorMessage = "标题必须为1-100位")]
        public virtual string Title { get; set; }
        public virtual string ImageName { get; set; }
 
        public virtual string LinkId { get; set; }
        public virtual string LinkType { get; set; }
        public virtual string LinkName { get; set; }

    }
}
